projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d22650a
)
Consider CONFIG_ZERO_BOOTDELAY_CHECK when CONFIG_AUTOBOOT_KEYED is set
author
Dirk Eibach
<
[email protected]
>
Thu, 26 Apr 2012 01:49:33 +0000
(
01:49
+0000)
committer
Wolfgang Denk
<
[email protected]
>
Thu, 9 Aug 2012 20:40:15 +0000
(22:40 +0200)
When CONFIG_ZERO_BOOTDELAY_CHECK is not defined, bootdelay==0
prevents the check for console input (as stated in README.autoboot).
This must also work in CONFIG_AUTOBOOT_KEYED mode.
Signed-off-by: Dirk Eibach <
[email protected]
>
common/main.c
patch
|
blob
|
history
diff --git
a/common/main.c
b/common/main.c
index 94059225735d20c4cd885af85020d1eacdd126ae..81984acb000f0c191cddaa576d52977f838fbf8d 100644
(file)
--- a/
common/main.c
+++ b/
common/main.c
@@
-114,6
+114,11
@@
int abortboot(int bootdelay)
u_int presskey_max = 0;
u_int i;
+#ifndef CONFIG_ZERO_BOOTDELAY_CHECK
+ if (bootdelay == 0)
+ return 0;
+#endif
+
# ifdef CONFIG_AUTOBOOT_PROMPT
printf(CONFIG_AUTOBOOT_PROMPT);
# endif